home *** CD-ROM | disk | FTP | other *** search
- Path: news2.ios.com!usenet
- From: vlad@gramercy.ios.com (Vlastimil Adamovsky)
- Newsgroups: comp.lang.c++
- Subject: Re: Parsing a bitmap in Visual C++
- Date: Mon, 18 Mar 1996 03:52:39 GMT
- Organization: Internet Online Services
- Message-ID: <4iim98$ime@news2.ios.com>
- References: <3147c546.2865185@beta.news.primenet.com>
- NNTP-Posting-Host: ppp-54.ts-7.hck.idt.net
- X-Newsreader: Forte Free Agent 1.0.82
-
- tubagod@primenet.com (Charles Olivarez) wrote:
-
- >I am trying to write a program that will take a scanned page (both
- >monochrome and color) that has been saved as a bitmap. I am hoping to
- >determine the percent of page coverage that exists on a given printed
- >page.
-
- >I want to parse the bitmap to get the dimensions and bit depth of the
- >color pixels. Does anyone have any hints/code/sources that can help
- >me get this done? I'm lost so far considering I'm new to Visual C++
- >and haven't programmed in C in quite a while.
-
- Each bitmap, image, picture or whatever they are called, have usually
- a header, where you can retrieve the dimensions, depth and other
- interesting things.
-
- So you have to start with becoming familiar with the bimap format and
- then you can use whatever language you wish. C++ for example.
- *******************************************
- * Vlastimil Adamovsky *
- * Smalltalk, C++ and Envelop development *
- *******************************************
-
-